package com.bjtu.literatureclient.base.result;

/**
 * @author caiyuli
 * @date 2020/4/27 11:39 下午
 */
public enum  FailEnum {

    FAIL(-1,"失败"),
    INDEXNO_FULL(1501,"索引冲突且没有新的索引号使用"),
    ;


    private Integer code;
    private String message;

    FailEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


}
